# solid cube

eye { 0.0, 0.0, 4.0 }
background none

object cube {
  center { 0.0, 0.0, -3.0 }
  rotate { 2, 0, 2 }
  surface front {
    style color 1
    vertex { -1.0, 1.0, 1.0 }
    vertex { -1.0, -1.0, 1.0 }
    vertex { 1.0, -1.0, 1.0 }
    vertex { 1.0, 1.0, 1.0 }
  }
  surface right {
    style color 2
    vertex { 1.0, 1.0, 1.0 }
    vertex { 1.0, -1.0, 1.0 }
    vertex { 1.0, -1.0, -1.0 }
    vertex { 1.0, 1.0, -1.0 }
  }
  surface back {
    style color 3
    vertex { 1.0, 1.0, -1.0 }
    vertex { 1.0, -1.0, -1.0 }
    vertex { -1.0, -1.0, -1.0 }
    vertex { -1.0, 1.0, -1.0 }
  }
  surface left {
    style color 4
    vertex { -1.0, 1.0, -1.0 }
    vertex { -1.0, -1.0, -1.0 }
    vertex { -1.0, -1.0, 1.0 }
    vertex { -1.0, 1.0, 1.0 }
  }
  surface top {
    style color 5
    vertex { -1.0, 1.0, -1.0 }
    vertex { -1.0, 1.0, 1.0 }
    vertex { 1.0, 1.0, 1.0 }
    vertex { 1.0, 1.0, -1.0 }
  }
  surface bottom {
    style color 6
    vertex { -1.0, -1.0, 1.0 }
    vertex { -1.0, -1.0, -1.0 }
    vertex { 1.0, -1.0, -1.0 }
    vertex { 1.0, -1.0, 1.0 }
  }
}

